package com.jihui.feign;


import com.jihui.user.model.JihuiUser;
import com.jihui.user.model.UserManager;

import feign.Client;
import feign.hystrix.HystrixFeign;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
import org.springframework.cloud.netflix.feign.FeignClientsConfiguration;
import org.springframework.cloud.netflix.feign.support.SpringMvcContract;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;
import org.springframework.context.annotation.Scope;
import feign.codec.Decoder;
import feign.codec.Encoder;
import feign.hystrix.HystrixFeign;

/**
 * ytx trade auto configuration
 *
 * @author haoge
 */
@Configuration
//@Import(FeignClientsConfiguration.class)
public class UserAutoconfiguration {
//    @Autowired
//    UserManager userManager;
//
//    @Bean
//    @ConditionalOnMissingBean(UserManager.class)
//    public UserManager serviceProvider() {
//        return userManager;
//    }

}
